projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d282b1
)
(diff-make-unified): Fix regexp.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 6 May 2004 18:41:32 +0000
(18:41 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 6 May 2004 18:41:32 +0000
(18:41 +0000)
lisp/diff-mode.el
patch
|
blob
|
history
diff --git
a/lisp/diff-mode.el
b/lisp/diff-mode.el
index e95ac7422fe4a4495382fd801030dbc0883c2577..9b00eae050d99fe958d9339fbb3e4c82a6b02c7a 100644
(file)
--- a/
lisp/diff-mode.el
+++ b/
lisp/diff-mode.el
@@
-976,7
+976,7
@@
a diff with \\[diff-reverse-direction]."
"Turn context diffs into unified diffs if applicable."
(if (save-excursion
(goto-char (point-min))
- (
looking-at "\\*\\*\\* "
))
+ (
and (looking-at diff-hunk-header-re) (eq (char-after) ?*)
))
(let ((mod (buffer-modified-p)))
(unwind-protect
(diff-context->unified (point-min) (point-max))